projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d47f8c
)
(EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP):
author
Richard M. Stallman
<rms@gnu.org>
Tue, 23 Nov 1993 10:41:27 +0000
(10:41 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 23 Nov 1993 10:41:27 +0000
(10:41 +0000)
If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.
src/systty.h
patch
|
blob
|
history
diff --git
a/src/systty.h
b/src/systty.h
index e264c8c4cd49370a9237b3140bc51affb004d528..b92b0249b66a209312d5fdcb3999d6f77ca2a963 100644
(file)
--- a/
src/systty.h
+++ b/
src/systty.h
@@
-273,7
+273,7
@@
static struct sensemode {
#ifdef EMACS_HAVE_TTY_PGRP
-#if
def HAVE_TERMIOS
+#if
defined (HAVE_TERMIOS) && ! defined (BSD_TERMIOS)
#define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd)))
#define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid)))